package org.edu.modules.stu.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-家长学生关联表
 */
@TableName("ve_base_student_parent")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="家长学生关联表对象", description="ve_base_student_parent")
public class VeBaseStudentParent extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "学生id")
        private Integer stuId;

    @TableField
    @ApiModelProperty(value = "学生家长用户id")
        private Integer parentUserId;

    @TableField
    @ApiModelProperty(value = "是否为默认 1是2 否")
        private Integer status;
}
